@@ -1,3 +1,12 @@
+0.18
+
+ - hmmm. i released broken dist at last night with too much alchole...
+ me--.
+
+0.17
+
+ - fixed cpan doc fix(Olaf Alders)
+
0.16
- skip perl distribution not only for perl-X.Y.Z.tar.gz but also perl-X.Y.Z.tar.bz2(kmx)
@@ -5,4 +5,5 @@ Makefile.PL
MANIFEST This list of files
README.md
t/00_compile.t
+t/01_compare_version.t
META.yml Module meta-data (added by MakeMaker)
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: App-cpanoutdated
-version: 0.16
+version: 0.18
abstract: ~
author: []
license: unknown
@@ -13,7 +13,7 @@ use IO::Zlib;
use CPAN::DistnameInfo;
use constant WIN32 => $^O eq 'MSWin32';
-our $VERSION = "0.16";
+our $VERSION = "0.18";
my $mirror = 'http://www.cpan.org/';
my $quote = WIN32 ? q/"/ : q/'/;
@@ -190,7 +190,7 @@ sub make_inc {
__END__
-=head1 NAMES
+=head1 NAME
cpan-outdated - detect outdated CPAN modules in your environment
@@ -1,3 +1,3 @@
package App::cpanoutdated;
-our $VERSION = "0.16";
+our $VERSION = "0.18";
1;
@@ -0,0 +1,15 @@
+use strict;
+use warnings;
+use Test::More tests => 7;
+
+$ENV{HARNESS_ACTIVE} ||= 1;
+
+do 'bin/cpan-outdated' or die;
+is compare_version('1.0', '1.0'), 0;
+is compare_version('1.0', '0.9'), 0;
+is compare_version('0.8', '0.9'), 1;
+is compare_version('1.0a', '2.0a'), 1;
+is compare_version('1.0a', '1.0a'), 0;
+is compare_version('1.0a', '1.0b'), 1;
+is compare_version('1.0c', '1.0b'), 0;
+